<template>
  <div class="main">
    <div class="box-item box-trends">
      <div class="box-item-title">产品动态</div>
      <div class="trends-list">
        <div class="trends-list-left">
          <div class="trends-item">
            <div class="trends-item-content">
              小工具管理后台新增页面收录设置的开…
            </div>
            <div class="trends-item-date">2020-05-25</div>
          </div>
          <div class="trends-item">
            <div class="trends-item-content">
              小工具管理后台新增页面收录设置的开…
            </div>
            <div class="trends-item-date">2020-05-25</div>
          </div>
          <div class="trends-item">
            <div class="trends-item-content">
              小工具管理后台新增页面收录设置的开…
            </div>
            <div class="trends-item-date">2020-05-25</div>
          </div>
        </div>
        <div class="trends-list-right">
          <div class="trends-item">
            <div class="trends-item-content">
              小工具管理后台新增页面收录设置的开…
            </div>
            <div class="trends-item-date">2020-05-25</div>
          </div>
          <div class="trends-item">
            <div class="trends-item-content">
              小工具管理后台新增页面收录设置的开…
            </div>
            <div class="trends-item-date">2020-05-25</div>
          </div>
          <div class="trends-item" style="text-align:left;">
            <a class="trends-more">查看更多</a>
          </div>
        </div>
      </div>
    </div>
    <div class="box-item box-start">
      <div class="box-item-title">
        五步开启学习项目
      </div>
      <div class="steps">
        <div class="steps-item steps-item-actived">01 如何创建知识产品</div>
        <img
          src="https://image.xuexiwangzhe.com/FsERmplgJOT8l7A_3IIjCVTyRLvJ"
          class="steps-item steps-img"
        />
        <div class="steps-item">02 面授课解决方案</div>
        <img
          src="https://image.xuexiwangzhe.com/FsERmplgJOT8l7A_3IIjCVTyRLvJ"
          class="steps-item steps-img"
        />
        <div class="steps-item">03 营销助力课程推广</div>
        <img
          src="https://image.xuexiwangzhe.com/FsERmplgJOT8l7A_3IIjCVTyRLvJ"
          class="steps-item steps-img"
        />
        <div class="steps-item">04 如何创建知识产品</div>
        <img
          src="https://image.xuexiwangzhe.com/FsERmplgJOT8l7A_3IIjCVTyRLvJ"
          class="steps-item steps-img"
        />
        <div class="steps-item">05 营销助力课程推广</div>
      </div>
      <div class="create">
        <div class="create-left-box">
          <div class="create-title">
            绩效支持从创建一个优秀项目开始
          </div>
          <div class="create-steps">
            <div class="create-steps-item">
              <div class="create-steps-item-title">选择</div>
              <div>项目类型</div>
            </div>
            <img
              src="https://image.xuexiwangzhe.com/FvixzQZwCK8t59mNjqZjmQk_8kHj"
              class="create-steps-item create-steps-img"
            />
            <div class="create-steps-item">
              <div class="create-steps-item-title">编辑</div>
              <div>主题内容</div>
            </div>
            <img
              src="https://image.xuexiwangzhe.com/FvixzQZwCK8t59mNjqZjmQk_8kHj"
              class="create-steps-item create-steps-img"
            />
            <div class="create-steps-item">
              <div class="create-steps-item-title">导入</div>
              <div>项目成员</div>
            </div>
            <img
              src="https://image.xuexiwangzhe.com/FvixzQZwCK8t59mNjqZjmQk_8kHj"
              class="create-steps-item create-steps-img"
            />
            <div class="create-steps-item">
              <div class="create-steps-item-title">配置</div>
              <div>项目规则</div>
            </div>
            <img
              src="https://image.xuexiwangzhe.com/FvixzQZwCK8t59mNjqZjmQk_8kHj"
              class="create-steps-item create-steps-img"
            />
            <div class="create-steps-item">
              <div class="create-steps-item-title">完成</div>
              <div>项目发布</div>
            </div>
          </div>
          <mu-button class="create-btn">立即创建</mu-button>
        </div>
        <div>
          <div class="create-show-content">支持多种项目内容形式</div>
          <img
            class="create-show-img"
            src="https://image.xuexiwangzhe.com/FlshebKlwtbrxMCn7rranZoLSmFT"
          />
        </div>
      </div>
    </div>
    <div class="box-item box-work">
      <div class="box-item-title box-item-title-detail">
        <div class="title-box">
          <div class="title">昨日运营</div>
          <div class="tip">数据跟新至2020-06-09</div>
        </div>
        <div class="operate-btn">
          数据项解释
        </div>
      </div>
      <div class="show-box">
        <div class="show-box-item">
          <div class="show-box-item-title" style="margin:0;margin-bottom:9px;">访问人数</div>
          <div class="show-box-item-content" style="margin:0;">4</div>
        </div>
        <div class="show-box-item">
          <div class="show-box-item-title">打卡人数</div>
          <div class="show-box-item-content">4</div>
        </div>
        <div class="show-box-item">
          <div class="show-box-item-title">作业提交</div>
          <div class="show-box-item-content">4</div>
        </div>
        <div
          class="show-box-item"
          style="display:flex;justify-content:flex-end;"
        >
          <div>
            <div class="show-box-item-title" style="margin:0;margin-bottom:9px;">解锁关卡</div>
            <div class="show-box-item-content" style="margin:0;">4</div>
          </div>
        </div>
      </div>
    </div>
    <div class="box-item box-data">
      <div class="box-item-title box-item-title-detail">
        <div class="title-box">
          <div class="title">数据总览</div>
          <div class="tip">数据跟新至2020-06-09</div>
        </div>
        <div class="operate-btn">
          查看更多统计
        </div>
      </div>
      <div class="show-box">
        <div class="show-box-item">
          <div class="show-box-item-title" style="margin:0;margin-bottom:9px;">项目总数</div>
          <div class="show-box-item-content" style="margin:0;">4</div>
        </div>
        <div class="show-box-item">
          <div class="show-box-item-title">打卡总数</div>
          <div class="show-box-item-content">4</div>
        </div>
        <div class="show-box-item">
          <div class="show-box-item-title">作业总数</div>
          <div class="show-box-item-content">4</div>
        </div>
        <div class="show-box-item">
          <div class="show-box-item-title">优选总数</div>
          <div class="show-box-item-content">4</div>
        </div>
        <div class="show-box-item">
          <div class="show-box-item-title">点评总数</div>
          <div class="show-box-item-content">4</div>
        </div>
        <div
          class="show-box-item"
          style="display:flex;justify-content:flex-end;"
        >
          <div>
            <div class="show-box-item-title" style="margin:0;margin-bottom:9px;">学员总数</div>
            <div class="show-box-item-content" style="margin:0;">4</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created() {},
};
</script>

<style scoped lang="scss">
.main {
  padding: 0 60px;
  min-width: 600px;
  max-width: 1200px;
}
.box-item {
  width: 100%;
  background: #fff;
  box-shadow: 2px 5px 7px 0px rgba(197, 197, 197, 0.2);
  border-radius: 8px;
  padding: 30px 25px 45px 25px;
  margin-bottom: 30px;
}

.box-item-title {
  font-size: 20px;
  color: #525252;
  margin-bottom: 50px;
}

.box-item-title-detail {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  .title-box {
    display: flex;
    align-items: flex-end;
  }

  .title {
    margin-right: 10px;
  }

  .tip {
    color: #ced1d9;
    font-size: 14px;
  }

  .operate-btn {
    cursor: pointer;
    color: #66789f;
    font-size: 14px;
  }
}

.box-trends {
  color: #525252;
  .trends-list {
    display: flex;
  }

  .trends-list-left,
  .trends-list-right {
    width: 50%;
  }

  .trends-list-left {
    border-right: 1px solid #ebebee;
    padding-right: 50px;
  }

  .trends-list-right {
    padding-left: 50px;
  }

  .trends-item {
    &:last-child {
      margin-bottom: 0;
    }
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .trends-item-content {
    margin-right: 50px;
  }

  .trends-item-date {
    color: #a4a4a4;
  }

  .trends-more {
    color: #66789f;
  }
}

.box-start {
  .steps {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    color: #5a5a5a;
  }

  .steps-img {
    width: 25px;
  }

  .steps-item {
    &:last-child {
      margin-right: 0;
    }
    margin-right: 32px;
  }

  .steps-item-actived {
    color: #105cfb;
  }

  .create {
    display: flex;
    align-items: flex-end;
  }

  .create-left-box {
    margin-right: 60px;
  }

  .create-show-content {
    font-size: 16px;
    color: #cfdefe;
    margin-bottom: 20px;
    text-align: center;
  }

  .create-show-img {
    width: 200px;
  }

  .create-title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 40px;
  }

  .create-steps {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
  }

  .create-steps-img {
    width: 30px;
  }

  .create-steps-item {
    margin-right: 25px;
  }

  .create-steps-item-title {
    color: #105cfb;
  }

  .create-btn {
    border-radius: 4px;
    box-shadow: none;
    background-color: #105cfb;
    color: #fff;
    height: 35px;
    line-height: 35px;
    width: 150px;
  }
}

.box-work,
.box-data {
  .show-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .show-box-item {
    &:last-child {
      border-right: none;
    }
    padding: 0 10px;
    width: 25%;
    text-align: center;
    border-right: 1px solid #ebebee;
  }

  .show-box-item-title {
    color: #b4b4b4;    
    width: 100px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 9px;
  }

  .show-box-item-content {
    font-size: 18px;
    font-weight: 500;
    color: #525252;
    width: 100px;
    text-align: center;
    margin: 0 auto;
  }
}

.box-data {
  .show-box-item {
    width: 16.666%;
  }
}
</style>
